<%--
  Created by IntelliJ IDEA.
  User: 墨墨之家
  Date: 2021/11/3
  Time: 19:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/WEB-INF/common/head.jsp" %>
</head>
<body>
<%--静态包含--%>
<%@include file="/WEB-INF/common/nav.jsp" %>

<div class="container-fluid">
    <div class="row">
        <%--静态包含--%>
        <%@include file="/WEB-INF/common/sidebar.jsp" %>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <div class="panel panel-default">
                <div class="panel-heading">表单数据
                    <div style="float:right;cursor:pointer;" data-toggle="modal" data-target="#myModal"><i
                            class="glyphicon glyphicon-question-sign"></i></div>
                </div>
                <div class="panel-body">
                    <form action="admin/update/to/page.html" method="post" role="form">
                        <div class="form-group">
                            <input type="hidden" name="id" value="${requestScope.admin.id}">
                            <input type="hidden" name="keyword" value="${empty param.keyword?"":param.keyword}"/>
                            <input type="hidden" name="pageNum" value="${empty param.pageNum?1:param.pageNum}">
                            <label for="exampleInputPassword1">登陆账号</label>
                            <span id="errorMsg" style="color: red;"></span>
                            <input type="text" value="${requestScope.admin.loginAcct}" class="form-control"
                                   name="loginAcct" id="exampleInputPassword1"
                                   placeholder="请输入登陆账号">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">用户名称</label>
                            <input type="text" name="userName" value="${requestScope.admin.userName}"
                                   class="form-control" id="exampleInputPassword2"
                                   placeholder="请输入用户名称">
                        </div>
                        <div class="form-group">
                            <label for="exampleInputEmail1">邮箱地址</label>
                            <input type="email" value="${requestScope.admin.email}" name="email" class="form-control"
                                   id="exampleInputEmail1"
                                   placeholder="请输入邮箱地址">
                            <p class="help-block label label-warning">请输入合法的邮箱地址, 格式为： xxxx@xxxx.com</p>
                        </div>
                        <button type="submit" class="btn btn-success"><i class="glyphicon glyphicon-plus"></i> 修改
                        </button>
                        <button type="reset" class="btn btn-danger"><i class="glyphicon glyphicon-refresh"></i> 重置
                        </button>
                    </form>
                </div>
            </div>

        </div>
    </div>
</div>

</body>
</html>
